﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YasharEl.Infrastructure.PresentationModel.Threading
{
    /// <summary>
    /// The exception that is thrown when a thread violates
    /// a concurrency constraint, such as causing 
    /// a prohibited cross thread operation.
    /// </summary>
    public class ConcurrencyException : Exception
    {
        public ConcurrencyException()
        {
        }

        public ConcurrencyException(string message)
            : base(message)
        {
        }

        public ConcurrencyException(string message, Exception ex)
            : base(message, ex)
        {
        }

    }
}
